package com.huajx.hanvon.handler;

import com.huajx.core.kit.AsyncHttpClientKit;
import com.huajx.core.message.RequestMessage;
import com.huajx.core.message.ResponseMessage;
import com.huajx.hanvon.Const;
import com.huajx.hanvon.HanvonTcpServer;

import java.util.Map;

/**
 * 读取人员信息(登记修改人脸)
 */
public class EmployeeHandler extends AbstractHanvonHandler {

    @Override
    public ResponseMessage handler(RequestMessage request) {
        Map<String, Object> paras = getPara(request.getSession());
        paras.put("content", request.getMessage());
        // 处理卡点数据
        AsyncHttpClientKit.post(HanvonTcpServer.config.getServerUrl() + Const.save_face, paras, content -> {

        });

        return null;
    }
}
